<?php

class m120524_075831_update_employee extends EDbMigration {

	public function up() {
		$this->addColumn('employees', 'isSupervisor', "boolean");
		$this->addColumn('employees', 'workAt', "varchar(8)");
		$this->addColumn('employees', 'workLocation', "varchar(32)");
	}

	public function down() {
		$this->dropColumn('employees', 'workLocation');
		$this->dropColumn('employees', 'workAt');
		$this->dropColumn('employees', 'isSupervisor');
	}

}